package com.easytopit.hibernate.demo;

public class News {
	private int id;
	private String userName;
	private String userPasswd;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getUserPasswd() {
		return userPasswd;
	}
	public void setUserPasswd(String userPasswd) {
		this.userPasswd = userPasswd;
	}
	@Override
	public String toString() {
		return "News [id=" + id + ", userName=" + userName + ", userPasswd=" + userPasswd + "]";
	}
	public News(String userName, String userPasswd) {
		super();
		this.userName = userName;
		this.userPasswd = userPasswd;
	}
}
